\hypertarget{class_main_app}{
\section{MainApp Class Reference}
\label{class_main_app}\index{MainApp@{MainApp}}
}


contains all the UI extended from MainWindow.ui and our GLWindow  




{\ttfamily \#include $<$MainApp.h$>$}



Collaboration diagram for MainApp:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=600pt]{class_main_app__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_main_app_a56f50de886e9ee9c4192b21eccdfe96b}{MainApp} (QWidget $\ast$\_\-parent=0)
\begin{DoxyCompactList}\small\item\em ctor \end{DoxyCompactList}\item 
\hyperlink{class_main_app_a1da72f01017840ab6165e33b76cc8482}{$\sim$MainApp} ()
\begin{DoxyCompactList}\small\item\em dtor \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_main_app_ac879cc4470bbd8d39eae95d7c7f67187}{on\_\-cmd\_\-injectParticle\_\-clicked} ()
\item 
void \hyperlink{class_main_app_a29b3d0053193e30df25d6891a9faf756}{on\_\-cmd\_\-flushCache\_\-clicked} ()
\item 
void \hyperlink{class_main_app_a1f20f48cc0bfe332b4f069a3aeafa38b}{on\_\-cmd\_\-autoMove\_\-clicked} ()
\item 
void \hyperlink{class_main_app_a3c90916a02732944a4a06960c8c7f785}{on\_\-spin\_\-fluid\_\-interfaceColorPlus\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_a5ddc6160962e8ce74a13b5c97fe690b1}{on\_\-spin\_\-fluid\_\-interfaceColorMinus\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_acf44d1f523a20f245b5d985ecd3f5fe3}{on\_\-spin\_\-fluid\_\-interfaceThreshold\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_a2bd77c6f245cb105b100f62f2c2e87c8}{on\_\-spin\_\-fluid\_\-interfaceCoefficient\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_a702c0710d6fee4d9fa6dc98351590a78}{on\_\-spin\_\-fluid\_\-surfaceThreshold\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_add614940843f4b54ab44c93341995245}{on\_\-spin\_\-fluid\_\-surfaceCoefficient\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_abf20f838a3ca40f21da98da6b4910fc4}{on\_\-spin\_\-fluid\_\-viscosityConstant\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_af21cadc7c11fe09c6dfc4dda609d6ed0}{on\_\-spin\_\-fluid\_\-gasConstant\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_a09f4ea7c2b6c1728487fa91ca89a57cf}{on\_\-spin\_\-fluid\_\-restDensity\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_a8c34fe093515170d538b2af87c012d1a}{on\_\-cmb\_\-fluid\_\-currentFluid\_\-currentIndexChanged} (int index)
\item 
void \hyperlink{class_main_app_a8db408266465d278ee1eba191158443c}{on\_\-spin\_\-solver\_\-smoothingLength\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_a3221880e6b29a11fbaa4ad32ce1b6aa4}{on\_\-cmb\_\-solver\_\-integrationMethod\_\-currentIndexChanged} (int index)
\item 
void \hyperlink{class_main_app_a063a13b6f825dbcc257f3a732a0445f5}{on\_\-spin\_\-solver\_\-timestep\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_ac1ea058a93b2d1a55aeafcc2d43d923f}{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-z\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_ac4a00ca293eeadca2cdf33676b72bcda}{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-y\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_a88a698ab8dfea072e81808ad519eb139}{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-x\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_a2786dd01f877b1f196660808e2250e89}{on\_\-spin\_\-environment\_\-capsule\_\-incrementAngle\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_aeb32ae89299d609275a099b55907569e}{on\_\-chk\_\-environment\_\-capsule\_\-isStatic\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_ae5b7141f929acde8f6556543def80524}{on\_\-spin\_\-environment\_\-capsule\_\-radius\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_a4a31b0f429bdb208f1923237a279d78c}{on\_\-chk\_\-environment\_\-sphere\_\-isStatic\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_a5b98edbc95e0ea5f2c1da176765eec8e}{on\_\-spin\_\-environment\_\-sphere\_\-radius\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_a2112f9174856d0fe11219d14a65c2c9a}{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-z\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a1e59699114ab1621d5b5c62df44d8d32}{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-y\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_ad472280d4fc1e5f8abac70d9200efac1}{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-x\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_ad10fa5b6fdbe03a9af5466b7db12a82b}{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-z\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a7b8cd16f6ee3914d03b4d6bd1c67f08a}{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-y\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_ab3eef10912244f5c85262b3ad29e3f38}{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-x\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_aeec3e129cb1d5d09a993288497a8c80f}{on\_\-cmb\_\-environment\_\-capsule\_\-currentIndexChanged} (int index)
\item 
void \hyperlink{class_main_app_af1b65faae7b1c1361c46665029b7ef9f}{on\_\-cmb\_\-environment\_\-sphere\_\-currentIndexChanged} (int index)
\item 
void \hyperlink{class_main_app_aef2f6ccb8d58b6e579408fd704b3ad40}{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-z\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a56676d35a7714f56e2b58826c7086d0c}{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-y\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a9c42fca167daf75d7b4d3df5634f2dd9}{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-x\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a9cf9874152d92d9ade145bc1675a65cf}{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-angleIncrement\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a4b02735a2b4d303884b92a49d9ed9d55}{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-speed\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_a5e140e8b53e23165bb197bb5eb4a120b}{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-maxAmplitude\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a07eb2b1ae649274afd7243352a1cb521}{on\_\-chk\_\-environment\_\-boundary\_\-enablePeriodicWall\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_a5e09b766fbb664479c9e814fc71bb25a}{on\_\-spin\_\-environment\_\-boundary\_\-restitutionForRBD\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_aa31430aacfa31aa074f1cdfd96d41289}{on\_\-spin\_\-environment\_\-boundary\_\-restitutionForFluid\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_a311ed5c66fc9840cde350886137a03ed}{on\_\-checkBox\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_ac769fe12bf9b288b91fda24482f961ec}{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-z\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a8be420d1d9e5201908f7ad1128d4fd8b}{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-y\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_aa183229c9fd83c0ed312488369088783}{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-x\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_ab112f06fa114acf0657af9c593905808}{on\_\-spin\_\-environment\_\-capsule\_\-resolution\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a54aad1d510714d45b8f3a895f18bb658}{on\_\-spin\_\-environment\_\-rbd\_\-restitution\_\-valueChanged} (double)
\item 
void \hyperlink{class_main_app_aae0c99b28e3e03ffb0c162961af5ea73}{on\_\-spin\_\-hose\_\-velocity\_\-z\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_aea37a7ba7b2914ac917ffe1ba3b196a6}{on\_\-spin\_\-hose\_\-velocity\_\-y\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a71ffa6d88832bd0aa50a869eb1acc76b}{on\_\-spin\_\-hose\_\-velocity\_\-x\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a542bb53f9574ec7b274d72a28b0d8711}{on\_\-spin\_\-hose\_\-centre\_\-z\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a5a896d344d76b0a874ef43d1a196a317}{on\_\-spin\_\-hose\_\-centre\_\-y\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a8c36001e87e92370aa3167a0780d464b}{on\_\-spin\_\-hose\_\-centre\_\-x\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a9beceee6ac7acd7c3584807ba5ab7436}{on\_\-chk\_\-fluid\_\-hose\_\-waitUntilRBD\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_a96a1e4de60cbe51a7dc1dcc791ec9368}{on\_\-chk\_\-fluid\_\-hose\_\-waitUntilBoundary\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_a7f4a1557ee876060ff6807b2fd0db756}{on\_\-chk\_\-fluid\_\-hose\_\-drawMarker\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_adca57fe57407ecd7dc7e2637032b92ab}{on\_\-spin\_\-cache\_\-automaticFlushInterval\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_ad4a701bc5c06fe3cbd199b0b6345c9a3}{on\_\-chk\_\-cache\_\-automaticFlush\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_abf9fd3d7dfb3169ef7b8d7e0aad65887}{on\_\-chk\_\-cache\_\-exportBoundary\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_a90228aac990601d7d0c35e44c684a700}{on\_\-chk\_\-cache\_\-exportRBD\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_a15ea79ad9baf4b557d95091e7773610e}{on\_\-spin\_\-cache\_\-samplingInterval\_\-valueChanged} (int)
\item 
void \hyperlink{class_main_app_a3eb2624249bf6bc9b5eb61fea3f57fa0}{on\_\-chk\_\-cache\_\-enable\_\-clicked} (bool checked)
\item 
void \hyperlink{class_main_app_a44b46c785e6e68924e7030137cca590f}{on\_\-cmd\_\-singleStep\_\-clicked} ()
\item 
void \hyperlink{class_main_app_af4e2a5ecd0154ffb601178c801f07566}{on\_\-cmd\_\-2DFrontView\_\-clicked} ()
\item 
void \hyperlink{class_main_app_a9d8e98206b1f9edecc0ac582cf8dd35b}{on\_\-cmd\_\-2DTopView\_\-clicked} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_main_app_a8947167d51717eb956ea8238906e0a6c}{setupConnections} ()
\begin{DoxyCompactList}\small\item\em setup up the UI intial values and connects signals/slots \end{DoxyCompactList}\item 
void \hyperlink{class_main_app_ade31678bed8071504756ddb02599dc8f}{keyPressEvent} (QKeyEvent $\ast$\_\-event)
\begin{DoxyCompactList}\small\item\em override the keyPressEvent inherited from QObject so we can handle key presses. \end{DoxyCompactList}\item 
void \hyperlink{class_main_app_ab1845e346766fa6a34b22e3fb04427d8}{refreshControlsFromSphere} (const int \_\-sphereId)
\begin{DoxyCompactList}\small\item\em updates the gui with the parameters of a newly selected sphere \end{DoxyCompactList}\item 
void \hyperlink{class_main_app_a9e4d0ae588196c85327c51a2493f3e6e}{refreshControlsFromCapsule} (const int \_\-capsuleId)
\begin{DoxyCompactList}\small\item\em updates the gui with the parameters of a newly selected capsule \end{DoxyCompactList}\item 
void \hyperlink{class_main_app_a7cc40ed17a8b96c509989c51bd019114}{refreshControlsFromFluid} (const int \_\-fluidId)
\begin{DoxyCompactList}\small\item\em updates the gui with the parameters of a newly selected fluid \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
Ui::MainWindow $\ast$ \hyperlink{class_main_app_a4293f05676b5fdec0609673637bc63a2}{m\_\-ui}
\begin{DoxyCompactList}\small\item\em the handle to the main GUI window, used for creating all the UI and the gl window \end{DoxyCompactList}\item 
\hyperlink{class_simulation}{Simulation} $\ast$ \hyperlink{class_main_app_a35da5a53cc7a1503b8341a9c984a724e}{m\_\-simulation}
\begin{DoxyCompactList}\small\item\em the main gl context that is used for drawing and creation of the simulation \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
contains all the UI extended from MainWindow.ui and our GLWindow 

Definition at line 23 of file MainApp.h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_main_app_a56f50de886e9ee9c4192b21eccdfe96b}{
\index{MainApp@{MainApp}!MainApp@{MainApp}}
\index{MainApp@{MainApp}!MainApp@{MainApp}}
\subsubsection[{MainApp}]{\setlength{\rightskip}{0pt plus 5cm}MainApp::MainApp (
\begin{DoxyParamCaption}
\item[{QWidget $\ast$}]{\_\-parent = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}
\label{class_main_app_a56f50de886e9ee9c4192b21eccdfe96b}


ctor 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em \_\-parent} & the main application window for the GUI \\
\hline
\end{DoxyParams}


Definition at line 13 of file MainApp.cpp.


\begin{DoxyCode}
                 :
                QMainWindow(_parent),
                m_ui(new Ui::MainWindow)
{
    // setup the user interface
    m_ui->setupUi(this);

    //create a new instance of the world and give it an initial aspect ratio
    m_simulation = new Simulation(this);

    m_ui->s_mainGridLayout->addWidget(m_simulation, 0, 0, 4, 2);

    //setup signals/slots
    setupConnections();
}
\end{DoxyCode}
\hypertarget{class_main_app_a1da72f01017840ab6165e33b76cc8482}{
\index{MainApp@{MainApp}!$\sim$MainApp@{$\sim$MainApp}}
\index{$\sim$MainApp@{$\sim$MainApp}!MainApp@{MainApp}}
\subsubsection[{$\sim$MainApp}]{\setlength{\rightskip}{0pt plus 5cm}MainApp::$\sim$MainApp (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_main_app_a1da72f01017840ab6165e33b76cc8482}


dtor 



Definition at line 31 of file MainApp.cpp.



References m\_\-ui.


\begin{DoxyCode}
{
    delete m_ui;
}
\end{DoxyCode}


\subsection{Member Function Documentation}
\hypertarget{class_main_app_ade31678bed8071504756ddb02599dc8f}{
\index{MainApp@{MainApp}!keyPressEvent@{keyPressEvent}}
\index{keyPressEvent@{keyPressEvent}!MainApp@{MainApp}}
\subsubsection[{keyPressEvent}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::keyPressEvent (
\begin{DoxyParamCaption}
\item[{QKeyEvent $\ast$}]{\_\-event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_main_app_ade31678bed8071504756ddb02599dc8f}


override the keyPressEvent inherited from QObject so we can handle key presses. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em \_\-event} & the event to process \\
\hline
\end{DoxyParams}


Definition at line 219 of file MainApp.cpp.



References Simulation::keyPress(), and m\_\-simulation.


\begin{DoxyCode}
{
    // this method is called every time the main window recives a key event.
    this->setFocus(Qt::ActiveWindowFocusReason);

    switch (_event->key())
    {
        case Qt::Key_Escape : QApplication::exit(EXIT_SUCCESS); break;

        case Qt::Key_M : showFullScreen(); break;
        case Qt::Key_N : showNormal(); break;

        default : break;
    }

    m_simulation->keyPress(_event);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ade31678bed8071504756ddb02599dc8f_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a311ed5c66fc9840cde350886137a03ed}{
\index{MainApp@{MainApp}!on\_\-checkBox\_\-clicked@{on\_\-checkBox\_\-clicked}}
\index{on\_\-checkBox\_\-clicked@{on\_\-checkBox\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-checkBox\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-checkBox\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a311ed5c66fc9840cde350886137a03ed}


Definition at line 373 of file MainApp.cpp.



References Simulation::getEnvironment(), m\_\-simulation, and Environment::setBoundaryBoundTop().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setBoundaryBoundTop(checked);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a311ed5c66fc9840cde350886137a03ed_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_ad4a701bc5c06fe3cbd199b0b6345c9a3}{
\index{MainApp@{MainApp}!on\_\-chk\_\-cache\_\-automaticFlush\_\-clicked@{on\_\-chk\_\-cache\_\-automaticFlush\_\-clicked}}
\index{on\_\-chk\_\-cache\_\-automaticFlush\_\-clicked@{on\_\-chk\_\-cache\_\-automaticFlush\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-chk\_\-cache\_\-automaticFlush\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-chk\_\-cache\_\-automaticFlush\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_ad4a701bc5c06fe3cbd199b0b6345c9a3}


Definition at line 274 of file MainApp.cpp.



References m\_\-simulation, Simulation::setCacheAutomaticFlushEnabled(), and Simulation::toggleCache().


\begin{DoxyCode}
{
    m_simulation->setCacheAutomaticFlushEnabled(checked);
    m_simulation->toggleCache();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ad4a701bc5c06fe3cbd199b0b6345c9a3_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a3eb2624249bf6bc9b5eb61fea3f57fa0}{
\index{MainApp@{MainApp}!on\_\-chk\_\-cache\_\-enable\_\-clicked@{on\_\-chk\_\-cache\_\-enable\_\-clicked}}
\index{on\_\-chk\_\-cache\_\-enable\_\-clicked@{on\_\-chk\_\-cache\_\-enable\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-chk\_\-cache\_\-enable\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-chk\_\-cache\_\-enable\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a3eb2624249bf6bc9b5eb61fea3f57fa0}


Definition at line 252 of file MainApp.cpp.



References m\_\-simulation, Simulation::setCacheEnabled(), and Simulation::toggleCache().


\begin{DoxyCode}
{
    m_simulation->setCacheEnabled(checked);
    m_simulation->toggleCache();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a3eb2624249bf6bc9b5eb61fea3f57fa0_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_abf9fd3d7dfb3169ef7b8d7e0aad65887}{
\index{MainApp@{MainApp}!on\_\-chk\_\-cache\_\-exportBoundary\_\-clicked@{on\_\-chk\_\-cache\_\-exportBoundary\_\-clicked}}
\index{on\_\-chk\_\-cache\_\-exportBoundary\_\-clicked@{on\_\-chk\_\-cache\_\-exportBoundary\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-chk\_\-cache\_\-exportBoundary\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-chk\_\-cache\_\-exportBoundary\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_abf9fd3d7dfb3169ef7b8d7e0aad65887}


Definition at line 269 of file MainApp.cpp.



References m\_\-simulation, and Simulation::setCacheExportBoundaryEnabled().


\begin{DoxyCode}
{
    m_simulation->setCacheExportBoundaryEnabled(checked);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_abf9fd3d7dfb3169ef7b8d7e0aad65887_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a90228aac990601d7d0c35e44c684a700}{
\index{MainApp@{MainApp}!on\_\-chk\_\-cache\_\-exportRBD\_\-clicked@{on\_\-chk\_\-cache\_\-exportRBD\_\-clicked}}
\index{on\_\-chk\_\-cache\_\-exportRBD\_\-clicked@{on\_\-chk\_\-cache\_\-exportRBD\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-chk\_\-cache\_\-exportRBD\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-chk\_\-cache\_\-exportRBD\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a90228aac990601d7d0c35e44c684a700}


Definition at line 264 of file MainApp.cpp.



References m\_\-simulation, and Simulation::setCacheExportRBDEnabled().


\begin{DoxyCode}
{
    m_simulation->setCacheExportRBDEnabled(checked);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a90228aac990601d7d0c35e44c684a700_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a07eb2b1ae649274afd7243352a1cb521}{
\index{MainApp@{MainApp}!on\_\-chk\_\-environment\_\-boundary\_\-enablePeriodicWall\_\-clicked@{on\_\-chk\_\-environment\_\-boundary\_\-enablePeriodicWall\_\-clicked}}
\index{on\_\-chk\_\-environment\_\-boundary\_\-enablePeriodicWall\_\-clicked@{on\_\-chk\_\-environment\_\-boundary\_\-enablePeriodicWall\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-chk\_\-environment\_\-boundary\_\-enablePeriodicWall\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-chk\_\-environment\_\-boundary\_\-enablePeriodicWall\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a07eb2b1ae649274afd7243352a1cb521}


Definition at line 388 of file MainApp.cpp.



References Simulation::getEnvironment(), m\_\-simulation, and Environment::setPeriodicWallEnabled().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setPeriodicWallEnabled(checked);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a07eb2b1ae649274afd7243352a1cb521_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_aeb32ae89299d609275a099b55907569e}{
\index{MainApp@{MainApp}!on\_\-chk\_\-environment\_\-capsule\_\-isStatic\_\-clicked@{on\_\-chk\_\-environment\_\-capsule\_\-isStatic\_\-clicked}}
\index{on\_\-chk\_\-environment\_\-capsule\_\-isStatic\_\-clicked@{on\_\-chk\_\-environment\_\-capsule\_\-isStatic\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-chk\_\-environment\_\-capsule\_\-isStatic\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-chk\_\-environment\_\-capsule\_\-isStatic\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_aeb32ae89299d609275a099b55907569e}


Definition at line 554 of file MainApp.cpp.



References Environment::getCapsuleObstacleList(), Simulation::getEnvironment(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected capsule id
    int id = m_ui->cmb_environment_capsule->currentIndex();

    //update currently selected object
    m_simulation->getEnvironment()->getCapsuleObstacleList()[id].setMoveable(!che
      cked);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_aeb32ae89299d609275a099b55907569e_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a4a31b0f429bdb208f1923237a279d78c}{
\index{MainApp@{MainApp}!on\_\-chk\_\-environment\_\-sphere\_\-isStatic\_\-clicked@{on\_\-chk\_\-environment\_\-sphere\_\-isStatic\_\-clicked}}
\index{on\_\-chk\_\-environment\_\-sphere\_\-isStatic\_\-clicked@{on\_\-chk\_\-environment\_\-sphere\_\-isStatic\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-chk\_\-environment\_\-sphere\_\-isStatic\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-chk\_\-environment\_\-sphere\_\-isStatic\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a4a31b0f429bdb208f1923237a279d78c}


Definition at line 534 of file MainApp.cpp.



References Simulation::getEnvironment(), Environment::getSphereObstacleList(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected sphere id
    int id = m_ui->cmb_environment_sphere->currentIndex();

    //update currently selected object
    m_simulation->getEnvironment()->getSphereObstacleList()[id].setMoveable(!chec
      ked);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a4a31b0f429bdb208f1923237a279d78c_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a7f4a1557ee876060ff6807b2fd0db756}{
\index{MainApp@{MainApp}!on\_\-chk\_\-fluid\_\-hose\_\-drawMarker\_\-clicked@{on\_\-chk\_\-fluid\_\-hose\_\-drawMarker\_\-clicked}}
\index{on\_\-chk\_\-fluid\_\-hose\_\-drawMarker\_\-clicked@{on\_\-chk\_\-fluid\_\-hose\_\-drawMarker\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-chk\_\-fluid\_\-hose\_\-drawMarker\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-chk\_\-fluid\_\-hose\_\-drawMarker\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a7f4a1557ee876060ff6807b2fd0db756}


Definition at line 286 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, and Solver::setDrawHoseMarker().


\begin{DoxyCode}
{
    m_simulation->getSolver()->setDrawHoseMarker(checked);

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a7f4a1557ee876060ff6807b2fd0db756_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a96a1e4de60cbe51a7dc1dcc791ec9368}{
\index{MainApp@{MainApp}!on\_\-chk\_\-fluid\_\-hose\_\-waitUntilBoundary\_\-clicked@{on\_\-chk\_\-fluid\_\-hose\_\-waitUntilBoundary\_\-clicked}}
\index{on\_\-chk\_\-fluid\_\-hose\_\-waitUntilBoundary\_\-clicked@{on\_\-chk\_\-fluid\_\-hose\_\-waitUntilBoundary\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-chk\_\-fluid\_\-hose\_\-waitUntilBoundary\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-chk\_\-fluid\_\-hose\_\-waitUntilBoundary\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a96a1e4de60cbe51a7dc1dcc791ec9368}


Definition at line 293 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, and Solver::setHoseWaitUntilHitBoundary().


\begin{DoxyCode}
{
    m_simulation->getSolver()->setHoseWaitUntilHitBoundary(checked);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a96a1e4de60cbe51a7dc1dcc791ec9368_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a9beceee6ac7acd7c3584807ba5ab7436}{
\index{MainApp@{MainApp}!on\_\-chk\_\-fluid\_\-hose\_\-waitUntilRBD\_\-clicked@{on\_\-chk\_\-fluid\_\-hose\_\-waitUntilRBD\_\-clicked}}
\index{on\_\-chk\_\-fluid\_\-hose\_\-waitUntilRBD\_\-clicked@{on\_\-chk\_\-fluid\_\-hose\_\-waitUntilRBD\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-chk\_\-fluid\_\-hose\_\-waitUntilRBD\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-chk\_\-fluid\_\-hose\_\-waitUntilRBD\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a9beceee6ac7acd7c3584807ba5ab7436}


Definition at line 298 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, and Solver::setHoseWaitUntilHitRBD().


\begin{DoxyCode}
{
    m_simulation->getSolver()->setHoseWaitUntilHitRBD(checked);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a9beceee6ac7acd7c3584807ba5ab7436_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_aeec3e129cb1d5d09a993288497a8c80f}{
\index{MainApp@{MainApp}!on\_\-cmb\_\-environment\_\-capsule\_\-currentIndexChanged@{on\_\-cmb\_\-environment\_\-capsule\_\-currentIndexChanged}}
\index{on\_\-cmb\_\-environment\_\-capsule\_\-currentIndexChanged@{on\_\-cmb\_\-environment\_\-capsule\_\-currentIndexChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-cmb\_\-environment\_\-capsule\_\-currentIndexChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-cmb\_\-environment\_\-capsule\_\-currentIndexChanged (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_aeec3e129cb1d5d09a993288497a8c80f}


Definition at line 434 of file MainApp.cpp.



References refreshControlsFromCapsule().


\begin{DoxyCode}
{
    refreshControlsFromCapsule(index);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_aeec3e129cb1d5d09a993288497a8c80f_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_af1b65faae7b1c1361c46665029b7ef9f}{
\index{MainApp@{MainApp}!on\_\-cmb\_\-environment\_\-sphere\_\-currentIndexChanged@{on\_\-cmb\_\-environment\_\-sphere\_\-currentIndexChanged}}
\index{on\_\-cmb\_\-environment\_\-sphere\_\-currentIndexChanged@{on\_\-cmb\_\-environment\_\-sphere\_\-currentIndexChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-cmb\_\-environment\_\-sphere\_\-currentIndexChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-cmb\_\-environment\_\-sphere\_\-currentIndexChanged (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_af1b65faae7b1c1361c46665029b7ef9f}


Definition at line 429 of file MainApp.cpp.



References refreshControlsFromSphere().


\begin{DoxyCode}
{
    refreshControlsFromSphere(index);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_af1b65faae7b1c1361c46665029b7ef9f_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a8c34fe093515170d538b2af87c012d1a}{
\index{MainApp@{MainApp}!on\_\-cmb\_\-fluid\_\-currentFluid\_\-currentIndexChanged@{on\_\-cmb\_\-fluid\_\-currentFluid\_\-currentIndexChanged}}
\index{on\_\-cmb\_\-fluid\_\-currentFluid\_\-currentIndexChanged@{on\_\-cmb\_\-fluid\_\-currentFluid\_\-currentIndexChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-cmb\_\-fluid\_\-currentFluid\_\-currentIndexChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-cmb\_\-fluid\_\-currentFluid\_\-currentIndexChanged (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a8c34fe093515170d538b2af87c012d1a}


Definition at line 629 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, refreshControlsFromFluid(), and Solver::setCurrentHoseableFluid().


\begin{DoxyCode}
{
    m_simulation->getSolver()->setCurrentHoseableFluid(index);

    refreshControlsFromFluid(index);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a8c34fe093515170d538b2af87c012d1a_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a3221880e6b29a11fbaa4ad32ce1b6aa4}{
\index{MainApp@{MainApp}!on\_\-cmb\_\-solver\_\-integrationMethod\_\-currentIndexChanged@{on\_\-cmb\_\-solver\_\-integrationMethod\_\-currentIndexChanged}}
\index{on\_\-cmb\_\-solver\_\-integrationMethod\_\-currentIndexChanged@{on\_\-cmb\_\-solver\_\-integrationMethod\_\-currentIndexChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-cmb\_\-solver\_\-integrationMethod\_\-currentIndexChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-cmb\_\-solver\_\-integrationMethod\_\-currentIndexChanged (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a3221880e6b29a11fbaa4ad32ce1b6aa4}


Definition at line 619 of file MainApp.cpp.



References Simulation::getIntegration(), m\_\-simulation, and Integration::setIntegrationType().


\begin{DoxyCode}
{
    m_simulation->getIntegration()->setIntegrationType(index);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a3221880e6b29a11fbaa4ad32ce1b6aa4_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_af4e2a5ecd0154ffb601178c801f07566}{
\index{MainApp@{MainApp}!on\_\-cmd\_\-2DFrontView\_\-clicked@{on\_\-cmd\_\-2DFrontView\_\-clicked}}
\index{on\_\-cmd\_\-2DFrontView\_\-clicked@{on\_\-cmd\_\-2DFrontView\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-cmd\_\-2DFrontView\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-cmd\_\-2DFrontView\_\-clicked (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_af4e2a5ecd0154ffb601178c801f07566}


Definition at line 246 of file MainApp.cpp.



References m\_\-simulation, and Simulation::setup2DFrontView().


\begin{DoxyCode}
{
    //setup front view
    m_simulation->setup2DFrontView();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_af4e2a5ecd0154ffb601178c801f07566_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a9d8e98206b1f9edecc0ac582cf8dd35b}{
\index{MainApp@{MainApp}!on\_\-cmd\_\-2DTopView\_\-clicked@{on\_\-cmd\_\-2DTopView\_\-clicked}}
\index{on\_\-cmd\_\-2DTopView\_\-clicked@{on\_\-cmd\_\-2DTopView\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-cmd\_\-2DTopView\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-cmd\_\-2DTopView\_\-clicked (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a9d8e98206b1f9edecc0ac582cf8dd35b}


Definition at line 240 of file MainApp.cpp.



References m\_\-simulation, and Simulation::setup2DTopView().


\begin{DoxyCode}
{
    //setup top view
    m_simulation->setup2DTopView();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a9d8e98206b1f9edecc0ac582cf8dd35b_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a1f20f48cc0bfe332b4f069a3aeafa38b}{
\index{MainApp@{MainApp}!on\_\-cmd\_\-autoMove\_\-clicked@{on\_\-cmd\_\-autoMove\_\-clicked}}
\index{on\_\-cmd\_\-autoMove\_\-clicked@{on\_\-cmd\_\-autoMove\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-cmd\_\-autoMove\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-cmd\_\-autoMove\_\-clicked (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a1f20f48cc0bfe332b4f069a3aeafa38b}


Definition at line 735 of file MainApp.cpp.



References Solver::getEnableAutoFluidUpdate(), Simulation::getSolver(), m\_\-simulation, m\_\-ui, Solver::toggleEnableAutoFluidUpdate(), and Simulation::updateFPSTimer().


\begin{DoxyCode}
{
    m_ui->cmd_autoMove->setText(!m_simulation->getSolver()->
      getEnableAutoFluidUpdate() ? "AutoMove Stop" : "AutoMove Start");

    m_simulation->getSolver()->toggleEnableAutoFluidUpdate();
    m_simulation->updateFPSTimer();

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a1f20f48cc0bfe332b4f069a3aeafa38b_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a29b3d0053193e30df25d6891a9faf756}{
\index{MainApp@{MainApp}!on\_\-cmd\_\-flushCache\_\-clicked@{on\_\-cmd\_\-flushCache\_\-clicked}}
\index{on\_\-cmd\_\-flushCache\_\-clicked@{on\_\-cmd\_\-flushCache\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-cmd\_\-flushCache\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-cmd\_\-flushCache\_\-clicked (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a29b3d0053193e30df25d6891a9faf756}


Definition at line 745 of file MainApp.cpp.



References Simulation::flushCache(), and m\_\-simulation.


\begin{DoxyCode}
{
    m_simulation->flushCache();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a29b3d0053193e30df25d6891a9faf756_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_ac879cc4470bbd8d39eae95d7c7f67187}{
\index{MainApp@{MainApp}!on\_\-cmd\_\-injectParticle\_\-clicked@{on\_\-cmd\_\-injectParticle\_\-clicked}}
\index{on\_\-cmd\_\-injectParticle\_\-clicked@{on\_\-cmd\_\-injectParticle\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-cmd\_\-injectParticle\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-cmd\_\-injectParticle\_\-clicked (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_ac879cc4470bbd8d39eae95d7c7f67187}


Definition at line 750 of file MainApp.cpp.



References Simulation::getSolver(), Solver::injectParticles(), and m\_\-simulation.


\begin{DoxyCode}
{
    m_simulation->getSolver()->injectParticles();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ac879cc4470bbd8d39eae95d7c7f67187_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a44b46c785e6e68924e7030137cca590f}{
\index{MainApp@{MainApp}!on\_\-cmd\_\-singleStep\_\-clicked@{on\_\-cmd\_\-singleStep\_\-clicked}}
\index{on\_\-cmd\_\-singleStep\_\-clicked@{on\_\-cmd\_\-singleStep\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-cmd\_\-singleStep\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-cmd\_\-singleStep\_\-clicked (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a44b46c785e6e68924e7030137cca590f}


Definition at line 728 of file MainApp.cpp.



References Simulation::getEnvironment(), Simulation::getIntegration(), Simulation::getSolver(), m\_\-simulation, and Solver::updateFluid().


\begin{DoxyCode}
{
    m_simulation->getSolver()->updateFluid(m_simulation->getEnvironment(), 
      m_simulation->getIntegration());

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a44b46c785e6e68924e7030137cca590f_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_adca57fe57407ecd7dc7e2637032b92ab}{
\index{MainApp@{MainApp}!on\_\-spin\_\-cache\_\-automaticFlushInterval\_\-valueChanged@{on\_\-spin\_\-cache\_\-automaticFlushInterval\_\-valueChanged}}
\index{on\_\-spin\_\-cache\_\-automaticFlushInterval\_\-valueChanged@{on\_\-spin\_\-cache\_\-automaticFlushInterval\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-cache\_\-automaticFlushInterval\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-cache\_\-automaticFlushInterval\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_adca57fe57407ecd7dc7e2637032b92ab}


Definition at line 280 of file MainApp.cpp.



References m\_\-simulation, Simulation::setCacheAutomaticFlushInterval(), and Simulation::toggleAutomaticCacheFlush().


\begin{DoxyCode}
{
    m_simulation->setCacheAutomaticFlushInterval(value * 1000);     //s -> ms
    m_simulation->toggleAutomaticCacheFlush();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_adca57fe57407ecd7dc7e2637032b92ab_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a15ea79ad9baf4b557d95091e7773610e}{
\index{MainApp@{MainApp}!on\_\-spin\_\-cache\_\-samplingInterval\_\-valueChanged@{on\_\-spin\_\-cache\_\-samplingInterval\_\-valueChanged}}
\index{on\_\-spin\_\-cache\_\-samplingInterval\_\-valueChanged@{on\_\-spin\_\-cache\_\-samplingInterval\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-cache\_\-samplingInterval\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-cache\_\-samplingInterval\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a15ea79ad9baf4b557d95091e7773610e}


Definition at line 258 of file MainApp.cpp.



References m\_\-simulation, Simulation::setCacheSamplingInterval(), and Simulation::toggleCache().


\begin{DoxyCode}
{
    m_simulation->setCacheSamplingInterval(value);
    m_simulation->toggleCache();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a15ea79ad9baf4b557d95091e7773610e_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_aa183229c9fd83c0ed312488369088783}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-x\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-x\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-x\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-x\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-x\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-x\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_aa183229c9fd83c0ed312488369088783}


Definition at line 351 of file MainApp.cpp.



References Environment::getBoundaryPosition(), Simulation::getEnvironment(), m\_\-simulation, and Environment::setBoundaryPosition().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setBoundaryPosition(ngl::Vector(value, 
      m_simulation->getEnvironment()->getBoundaryPosition().m_y, m_simulation->
      getEnvironment()->getBoundaryPosition().m_z));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_aa183229c9fd83c0ed312488369088783_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a8be420d1d9e5201908f7ad1128d4fd8b}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-y\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-y\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-y\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-y\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-y\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-y\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a8be420d1d9e5201908f7ad1128d4fd8b}


Definition at line 359 of file MainApp.cpp.



References Environment::getBoundaryPosition(), Simulation::getEnvironment(), m\_\-simulation, and Environment::setBoundaryPosition().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setBoundaryPosition(ngl::Vector(m_simulation-
      >getEnvironment()->getBoundaryPosition().m_x, value, m_simulation->
      getEnvironment()->getBoundaryPosition().m_z));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a8be420d1d9e5201908f7ad1128d4fd8b_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_ac769fe12bf9b288b91fda24482f961ec}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-z\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-z\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-z\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-z\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-z\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-boundary\_\-centre\_\-z\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_ac769fe12bf9b288b91fda24482f961ec}


Definition at line 366 of file MainApp.cpp.



References Environment::getBoundaryPosition(), Simulation::getEnvironment(), m\_\-simulation, and Environment::setBoundaryPosition().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setBoundaryPosition(ngl::Vector(m_simulation-
      >getEnvironment()->getBoundaryPosition().m_x, m_simulation->getEnvironment()->
      getBoundaryPosition().m_y, value));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ac769fe12bf9b288b91fda24482f961ec_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a9cf9874152d92d9ade145bc1675a65cf}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-angleIncrement\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-angleIncrement\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-angleIncrement\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-angleIncrement\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-angleIncrement\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-angleIncrement\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a9cf9874152d92d9ade145bc1675a65cf}


Definition at line 403 of file MainApp.cpp.



References Simulation::getEnvironment(), m\_\-simulation, and Environment::setPeriodicWallAngleIncrement().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setPeriodicWallAngleIncrement(value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a9cf9874152d92d9ade145bc1675a65cf_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a5e140e8b53e23165bb197bb5eb4a120b}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-maxAmplitude\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-maxAmplitude\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-maxAmplitude\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-maxAmplitude\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-maxAmplitude\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-maxAmplitude\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a5e140e8b53e23165bb197bb5eb4a120b}


Definition at line 393 of file MainApp.cpp.



References Simulation::getEnvironment(), m\_\-simulation, and Environment::setPeriodicWallMaxAmplitude().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setPeriodicWallMaxAmplitude(value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a5e140e8b53e23165bb197bb5eb4a120b_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a4b02735a2b4d303884b92a49d9ed9d55}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-speed\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-speed\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-speed\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-speed\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-speed\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-boundary\_\-periodicWall\_\-speed\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a4b02735a2b4d303884b92a49d9ed9d55}


Definition at line 398 of file MainApp.cpp.



References Simulation::getEnvironment(), m\_\-simulation, and Environment::setPeriodicWallSpeed().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setPeriodicWallSpeed(value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a4b02735a2b4d303884b92a49d9ed9d55_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_aa31430aacfa31aa074f1cdfd96d41289}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-boundary\_\-restitutionForFluid\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-restitutionForFluid\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-boundary\_\-restitutionForFluid\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-restitutionForFluid\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-boundary\_\-restitutionForFluid\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-boundary\_\-restitutionForFluid\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_aa31430aacfa31aa074f1cdfd96d41289}


Definition at line 378 of file MainApp.cpp.



References Simulation::getEnvironment(), m\_\-simulation, and Environment::setBoundaryRestitutionCoefficientForFluid().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setBoundaryRestitutionCoefficientForFluid(val
      ue);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_aa31430aacfa31aa074f1cdfd96d41289_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a5e09b766fbb664479c9e814fc71bb25a}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-boundary\_\-restitutionForRBD\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-restitutionForRBD\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-boundary\_\-restitutionForRBD\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-restitutionForRBD\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-boundary\_\-restitutionForRBD\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-boundary\_\-restitutionForRBD\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a5e09b766fbb664479c9e814fc71bb25a}


Definition at line 383 of file MainApp.cpp.



References Simulation::getEnvironment(), m\_\-simulation, and Environment::setBoundaryRestitutionCoefficientForRBD().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setBoundaryRestitutionCoefficientForRBD(value
      );
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a5e09b766fbb664479c9e814fc71bb25a_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a9c42fca167daf75d7b4d3df5634f2dd9}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-boundary\_\-size\_\-x\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-x\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-x\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-x\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-x\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-boundary\_\-size\_\-x\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a9c42fca167daf75d7b4d3df5634f2dd9}


Definition at line 408 of file MainApp.cpp.



References Environment::getBoundaryDimension(), Simulation::getEnvironment(), m\_\-simulation, and Environment::setBoundaryDimension().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setBoundaryDimension(ngl::Vector(value, 
      m_simulation->getEnvironment()->getBoundaryDimension().m_y, m_simulation->
      getEnvironment()->getBoundaryDimension().m_z));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a9c42fca167daf75d7b4d3df5634f2dd9_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a56676d35a7714f56e2b58826c7086d0c}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-boundary\_\-size\_\-y\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-y\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-y\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-y\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-y\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-boundary\_\-size\_\-y\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a56676d35a7714f56e2b58826c7086d0c}


Definition at line 415 of file MainApp.cpp.



References Environment::getBoundaryDimension(), Simulation::getEnvironment(), m\_\-simulation, and Environment::setBoundaryDimension().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setBoundaryDimension(ngl::Vector(
      m_simulation->getEnvironment()->getBoundaryDimension().m_x, value, m_simulation->
      getEnvironment()->getBoundaryDimension().m_z));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a56676d35a7714f56e2b58826c7086d0c_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_aef2f6ccb8d58b6e579408fd704b3ad40}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-boundary\_\-size\_\-z\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-z\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-z\_\-valueChanged@{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-z\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-boundary\_\-size\_\-z\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-boundary\_\-size\_\-z\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_aef2f6ccb8d58b6e579408fd704b3ad40}


Definition at line 422 of file MainApp.cpp.



References Environment::getBoundaryDimension(), Simulation::getEnvironment(), m\_\-simulation, and Environment::setBoundaryDimension().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setBoundaryDimension(ngl::Vector(
      m_simulation->getEnvironment()->getBoundaryDimension().m_x, m_simulation->
      getEnvironment()->getBoundaryDimension().m_y, value));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_aef2f6ccb8d58b6e579408fd704b3ad40_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a88a698ab8dfea072e81808ad519eb139}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-x\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-x\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-x\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-x\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-x\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-x\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a88a698ab8dfea072e81808ad519eb139}


Definition at line 572 of file MainApp.cpp.



References Environment::getCapsuleObstacleList(), Simulation::getEnvironment(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected capsule id
    int id = m_ui->cmb_environment_capsule->currentIndex();

    //get position
    ngl::Vector pos = m_simulation->getEnvironment()->getCapsuleObstacleList()[id
      ].getPosition();

    //update currently selected object
    m_simulation->getEnvironment()->getCapsuleObstacleList()[id].updatePosition(n
      gl::Vector(value, pos.m_y, pos.m_z));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a88a698ab8dfea072e81808ad519eb139_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_ac4a00ca293eeadca2cdf33676b72bcda}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-y\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-y\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-y\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-y\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-y\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-y\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_ac4a00ca293eeadca2cdf33676b72bcda}


Definition at line 586 of file MainApp.cpp.



References Environment::getCapsuleObstacleList(), Simulation::getEnvironment(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected capsule id
    int id = m_ui->cmb_environment_capsule->currentIndex();

    //get position
    ngl::Vector pos = m_simulation->getEnvironment()->getCapsuleObstacleList()[id
      ].getPosition();

    //update currently selected object
    m_simulation->getEnvironment()->getCapsuleObstacleList()[id].updatePosition(n
      gl::Vector(pos.m_x, value, pos.m_z));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ac4a00ca293eeadca2cdf33676b72bcda_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_ac1ea058a93b2d1a55aeafcc2d43d923f}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-z\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-z\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-z\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-z\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-z\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-capsule\_\-centre\_\-z\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_ac1ea058a93b2d1a55aeafcc2d43d923f}


Definition at line 600 of file MainApp.cpp.



References Environment::getCapsuleObstacleList(), Simulation::getEnvironment(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected capsule id
    int id = m_ui->cmb_environment_capsule->currentIndex();

    //get position
    ngl::Vector pos = m_simulation->getEnvironment()->getCapsuleObstacleList()[id
      ].getPosition();

    //update currently selected object
    m_simulation->getEnvironment()->getCapsuleObstacleList()[id].updatePosition(n
      gl::Vector(pos.m_x, pos.m_y, value));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ac1ea058a93b2d1a55aeafcc2d43d923f_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a2786dd01f877b1f196660808e2250e89}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-capsule\_\-incrementAngle\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-incrementAngle\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-capsule\_\-incrementAngle\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-incrementAngle\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-capsule\_\-incrementAngle\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-capsule\_\-incrementAngle\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a2786dd01f877b1f196660808e2250e89}


Definition at line 563 of file MainApp.cpp.



References Environment::getCapsuleObstacleList(), Simulation::getEnvironment(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected capsule id
    int id = m_ui->cmb_environment_capsule->currentIndex();

    //update currently selected object
    m_simulation->getEnvironment()->getCapsuleObstacleList()[id].setIncrementAngl
      e(value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a2786dd01f877b1f196660808e2250e89_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_ae5b7141f929acde8f6556543def80524}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-capsule\_\-radius\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-radius\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-capsule\_\-radius\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-radius\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-capsule\_\-radius\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-capsule\_\-radius\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_ae5b7141f929acde8f6556543def80524}


Definition at line 543 of file MainApp.cpp.



References Environment::getCapsuleObstacleList(), Simulation::getEnvironment(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected capsule id
    int id = m_ui->cmb_environment_capsule->currentIndex();

    //update currently selected object
    m_simulation->getEnvironment()->getCapsuleObstacleList()[id].setRadius(value)
      ;

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ae5b7141f929acde8f6556543def80524_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_ab112f06fa114acf0657af9c593905808}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-capsule\_\-resolution\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-resolution\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-capsule\_\-resolution\_\-valueChanged@{on\_\-spin\_\-environment\_\-capsule\_\-resolution\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-capsule\_\-resolution\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-capsule\_\-resolution\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_ab112f06fa114acf0657af9c593905808}


Definition at line 344 of file MainApp.cpp.



References Simulation::getEnvironment(), m\_\-simulation, and Environment::setCapsuleResolution().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setCapsuleResolution(value);

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ab112f06fa114acf0657af9c593905808_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a54aad1d510714d45b8f3a895f18bb658}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-rbd\_\-restitution\_\-valueChanged@{on\_\-spin\_\-environment\_\-rbd\_\-restitution\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-rbd\_\-restitution\_\-valueChanged@{on\_\-spin\_\-environment\_\-rbd\_\-restitution\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-rbd\_\-restitution\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-rbd\_\-restitution\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a54aad1d510714d45b8f3a895f18bb658}


Definition at line 339 of file MainApp.cpp.



References Simulation::getEnvironment(), m\_\-simulation, and Environment::setObstacleRestitutionCoefficient().


\begin{DoxyCode}
{
    m_simulation->getEnvironment()->setObstacleRestitutionCoefficient(value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a54aad1d510714d45b8f3a895f18bb658_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_ab3eef10912244f5c85262b3ad29e3f38}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-x\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-x\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-x\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-x\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-x\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-x\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_ab3eef10912244f5c85262b3ad29e3f38}


Definition at line 439 of file MainApp.cpp.



References Simulation::getEnvironment(), Environment::getSphereObstacleList(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected sphere id
    int id = m_ui->cmb_environment_sphere->currentIndex();

    //get position
    ngl::Vector pos = m_simulation->getEnvironment()->getSphereObstacleList()[id]
      .getPosition();

    //update currently selected object
    m_simulation->getEnvironment()->getSphereObstacleList()[id].updatePosition(ng
      l::Vector(value, pos.m_y, pos.m_z));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ab3eef10912244f5c85262b3ad29e3f38_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a7b8cd16f6ee3914d03b4d6bd1c67f08a}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-y\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-y\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-y\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-y\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-y\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-y\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a7b8cd16f6ee3914d03b4d6bd1c67f08a}


Definition at line 453 of file MainApp.cpp.



References Simulation::getEnvironment(), Environment::getSphereObstacleList(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected sphere id
    int id = m_ui->cmb_environment_sphere->currentIndex();

    //get position
    ngl::Vector pos = m_simulation->getEnvironment()->getSphereObstacleList()[id]
      .getPosition();

    //update currently selected object
    m_simulation->getEnvironment()->getSphereObstacleList()[id].updatePosition(ng
      l::Vector(pos.m_x, value, pos.m_z));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a7b8cd16f6ee3914d03b4d6bd1c67f08a_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_ad10fa5b6fdbe03a9af5466b7db12a82b}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-z\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-z\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-z\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-z\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-z\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-sphere\_\-centre\_\-z\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_ad10fa5b6fdbe03a9af5466b7db12a82b}


Definition at line 467 of file MainApp.cpp.



References Simulation::getEnvironment(), Environment::getSphereObstacleList(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected sphere id
    int id = m_ui->cmb_environment_sphere->currentIndex();

    //get position
    ngl::Vector pos = m_simulation->getEnvironment()->getSphereObstacleList()[id]
      .getPosition();

    //update currently selected object
    m_simulation->getEnvironment()->getSphereObstacleList()[id].updatePosition(ng
      l::Vector(pos.m_x, pos.m_y, value));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ad10fa5b6fdbe03a9af5466b7db12a82b_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a5b98edbc95e0ea5f2c1da176765eec8e}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-sphere\_\-radius\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-radius\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-sphere\_\-radius\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-radius\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-sphere\_\-radius\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-sphere\_\-radius\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a5b98edbc95e0ea5f2c1da176765eec8e}


Definition at line 523 of file MainApp.cpp.



References Simulation::getEnvironment(), Environment::getSphereObstacleList(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected sphere id
    int id = m_ui->cmb_environment_sphere->currentIndex();

    //update currently selected object
    m_simulation->getEnvironment()->getSphereObstacleList()[id].setRadius(value);
      

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a5b98edbc95e0ea5f2c1da176765eec8e_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_ad472280d4fc1e5f8abac70d9200efac1}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-x\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-x\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-x\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-x\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-x\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-x\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_ad472280d4fc1e5f8abac70d9200efac1}


Definition at line 481 of file MainApp.cpp.



References Simulation::getEnvironment(), Environment::getSphereObstacleList(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected sphere id
    int id = m_ui->cmb_environment_sphere->currentIndex();

    //get velocity
    ngl::Vector pos = m_simulation->getEnvironment()->getSphereObstacleList()[id]
      .getVelocity();

    //update currently selected object
    m_simulation->getEnvironment()->getSphereObstacleList()[id].updateVelocity(ng
      l::Vector(value, pos.m_y, pos.m_z));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ad472280d4fc1e5f8abac70d9200efac1_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a1e59699114ab1621d5b5c62df44d8d32}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-y\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-y\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-y\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-y\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-y\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-y\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a1e59699114ab1621d5b5c62df44d8d32}


Definition at line 495 of file MainApp.cpp.



References Simulation::getEnvironment(), Environment::getSphereObstacleList(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected sphere id
    int id = m_ui->cmb_environment_sphere->currentIndex();

    //get position
    ngl::Vector pos = m_simulation->getEnvironment()->getSphereObstacleList()[id]
      .getVelocity();

    //update currently selected object
    m_simulation->getEnvironment()->getSphereObstacleList()[id].updateVelocity(ng
      l::Vector(pos.m_x, value, pos.m_z));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a1e59699114ab1621d5b5c62df44d8d32_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a2112f9174856d0fe11219d14a65c2c9a}{
\index{MainApp@{MainApp}!on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-z\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-z\_\-valueChanged}}
\index{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-z\_\-valueChanged@{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-z\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-z\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-environment\_\-sphere\_\-velocity\_\-z\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a2112f9174856d0fe11219d14a65c2c9a}


Definition at line 509 of file MainApp.cpp.



References Simulation::getEnvironment(), Environment::getSphereObstacleList(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //get currently selected sphere id
    int id = m_ui->cmb_environment_sphere->currentIndex();

    //get position
    ngl::Vector pos = m_simulation->getEnvironment()->getSphereObstacleList()[id]
      .getVelocity();

    //update currently selected object
    m_simulation->getEnvironment()->getSphereObstacleList()[id].updateVelocity(ng
      l::Vector(pos.m_x, pos.m_y, value));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a2112f9174856d0fe11219d14a65c2c9a_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_af21cadc7c11fe09c6dfc4dda609d6ed0}{
\index{MainApp@{MainApp}!on\_\-spin\_\-fluid\_\-gasConstant\_\-valueChanged@{on\_\-spin\_\-fluid\_\-gasConstant\_\-valueChanged}}
\index{on\_\-spin\_\-fluid\_\-gasConstant\_\-valueChanged@{on\_\-spin\_\-fluid\_\-gasConstant\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-fluid\_\-gasConstant\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-fluid\_\-gasConstant\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_af21cadc7c11fe09c6dfc4dda609d6ed0}


Definition at line 645 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, m\_\-ui, and Solver::updateGasConstantForFluid().


\begin{DoxyCode}
{
    //get currently selected fluid id
    int id = m_ui->cmb_fluid_currentFluid->currentIndex();

    //update currently selected object
    m_simulation->getSolver()->updateGasConstantForFluid(id, value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_af21cadc7c11fe09c6dfc4dda609d6ed0_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a2bd77c6f245cb105b100f62f2c2e87c8}{
\index{MainApp@{MainApp}!on\_\-spin\_\-fluid\_\-interfaceCoefficient\_\-valueChanged@{on\_\-spin\_\-fluid\_\-interfaceCoefficient\_\-valueChanged}}
\index{on\_\-spin\_\-fluid\_\-interfaceCoefficient\_\-valueChanged@{on\_\-spin\_\-fluid\_\-interfaceCoefficient\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-fluid\_\-interfaceCoefficient\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-fluid\_\-interfaceCoefficient\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a2bd77c6f245cb105b100f62f2c2e87c8}


Definition at line 681 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, m\_\-ui, and Solver::updateInterfaceCoefficientForFluid().


\begin{DoxyCode}
{
    //get currently selected fluid id
    int id = m_ui->cmb_fluid_currentFluid->currentIndex();

    //update currently selected object
    m_simulation->getSolver()->updateInterfaceCoefficientForFluid(id, value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a2bd77c6f245cb105b100f62f2c2e87c8_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a5ddc6160962e8ce74a13b5c97fe690b1}{
\index{MainApp@{MainApp}!on\_\-spin\_\-fluid\_\-interfaceColorMinus\_\-clicked@{on\_\-spin\_\-fluid\_\-interfaceColorMinus\_\-clicked}}
\index{on\_\-spin\_\-fluid\_\-interfaceColorMinus\_\-clicked@{on\_\-spin\_\-fluid\_\-interfaceColorMinus\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-fluid\_\-interfaceColorMinus\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-fluid\_\-interfaceColorMinus\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a5ddc6160962e8ce74a13b5c97fe690b1}


Definition at line 699 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, m\_\-ui, and Solver::updateInterfaceColorForFluid().


\begin{DoxyCode}
{
    //get currently selected fluid id
    int id = m_ui->cmb_fluid_currentFluid->currentIndex();


    if (checked)
        //update currently selected object
        m_simulation->getSolver()->updateInterfaceColorForFluid(id, -0.5);
    else
        //update currently selected object
        m_simulation->getSolver()->updateInterfaceColorForFluid(id, 0.5);

}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a5ddc6160962e8ce74a13b5c97fe690b1_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a3c90916a02732944a4a06960c8c7f785}{
\index{MainApp@{MainApp}!on\_\-spin\_\-fluid\_\-interfaceColorPlus\_\-clicked@{on\_\-spin\_\-fluid\_\-interfaceColorPlus\_\-clicked}}
\index{on\_\-spin\_\-fluid\_\-interfaceColorPlus\_\-clicked@{on\_\-spin\_\-fluid\_\-interfaceColorPlus\_\-clicked}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-fluid\_\-interfaceColorPlus\_\-clicked}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-fluid\_\-interfaceColorPlus\_\-clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a3c90916a02732944a4a06960c8c7f785}


Definition at line 714 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, m\_\-ui, and Solver::updateInterfaceColorForFluid().


\begin{DoxyCode}
{
    //get currently selected fluid id
    int id = m_ui->cmb_fluid_currentFluid->currentIndex();


    if (checked)
        //update currently selected object
        m_simulation->getSolver()->updateInterfaceColorForFluid(id, 0.5);
    else
        //update currently selected object
        m_simulation->getSolver()->updateInterfaceColorForFluid(id, -0.5);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a3c90916a02732944a4a06960c8c7f785_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_acf44d1f523a20f245b5d985ecd3f5fe3}{
\index{MainApp@{MainApp}!on\_\-spin\_\-fluid\_\-interfaceThreshold\_\-valueChanged@{on\_\-spin\_\-fluid\_\-interfaceThreshold\_\-valueChanged}}
\index{on\_\-spin\_\-fluid\_\-interfaceThreshold\_\-valueChanged@{on\_\-spin\_\-fluid\_\-interfaceThreshold\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-fluid\_\-interfaceThreshold\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-fluid\_\-interfaceThreshold\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_acf44d1f523a20f245b5d985ecd3f5fe3}


Definition at line 690 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, m\_\-ui, and Solver::updateInterfaceThresholdForFluid().


\begin{DoxyCode}
{
    //get currently selected fluid id
    int id = m_ui->cmb_fluid_currentFluid->currentIndex();

    //update currently selected object
    m_simulation->getSolver()->updateInterfaceThresholdForFluid(id, value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_acf44d1f523a20f245b5d985ecd3f5fe3_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a09f4ea7c2b6c1728487fa91ca89a57cf}{
\index{MainApp@{MainApp}!on\_\-spin\_\-fluid\_\-restDensity\_\-valueChanged@{on\_\-spin\_\-fluid\_\-restDensity\_\-valueChanged}}
\index{on\_\-spin\_\-fluid\_\-restDensity\_\-valueChanged@{on\_\-spin\_\-fluid\_\-restDensity\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-fluid\_\-restDensity\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-fluid\_\-restDensity\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a09f4ea7c2b6c1728487fa91ca89a57cf}


Definition at line 636 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, m\_\-ui, and Solver::updateRestDensityForFluid().


\begin{DoxyCode}
{
    //get currently selected fluid id
    int id = m_ui->cmb_fluid_currentFluid->currentIndex();

    //update currently selected object
    m_simulation->getSolver()->updateRestDensityForFluid(id, value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a09f4ea7c2b6c1728487fa91ca89a57cf_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_add614940843f4b54ab44c93341995245}{
\index{MainApp@{MainApp}!on\_\-spin\_\-fluid\_\-surfaceCoefficient\_\-valueChanged@{on\_\-spin\_\-fluid\_\-surfaceCoefficient\_\-valueChanged}}
\index{on\_\-spin\_\-fluid\_\-surfaceCoefficient\_\-valueChanged@{on\_\-spin\_\-fluid\_\-surfaceCoefficient\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-fluid\_\-surfaceCoefficient\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-fluid\_\-surfaceCoefficient\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_add614940843f4b54ab44c93341995245}


Definition at line 663 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, m\_\-ui, and Solver::updateSurfaceCoefficientForFluid().


\begin{DoxyCode}
{
    //get currently selected fluid id
    int id = m_ui->cmb_fluid_currentFluid->currentIndex();

    //update currently selected object
    m_simulation->getSolver()->updateSurfaceCoefficientForFluid(id, value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_add614940843f4b54ab44c93341995245_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a702c0710d6fee4d9fa6dc98351590a78}{
\index{MainApp@{MainApp}!on\_\-spin\_\-fluid\_\-surfaceThreshold\_\-valueChanged@{on\_\-spin\_\-fluid\_\-surfaceThreshold\_\-valueChanged}}
\index{on\_\-spin\_\-fluid\_\-surfaceThreshold\_\-valueChanged@{on\_\-spin\_\-fluid\_\-surfaceThreshold\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-fluid\_\-surfaceThreshold\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-fluid\_\-surfaceThreshold\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a702c0710d6fee4d9fa6dc98351590a78}


Definition at line 672 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, m\_\-ui, and Solver::updateSurfaceThresholdForFluid().


\begin{DoxyCode}
{
    //get currently selected fluid id
    int id = m_ui->cmb_fluid_currentFluid->currentIndex();

    //update currently selected object
    m_simulation->getSolver()->updateSurfaceThresholdForFluid(id, value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a702c0710d6fee4d9fa6dc98351590a78_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_abf20f838a3ca40f21da98da6b4910fc4}{
\index{MainApp@{MainApp}!on\_\-spin\_\-fluid\_\-viscosityConstant\_\-valueChanged@{on\_\-spin\_\-fluid\_\-viscosityConstant\_\-valueChanged}}
\index{on\_\-spin\_\-fluid\_\-viscosityConstant\_\-valueChanged@{on\_\-spin\_\-fluid\_\-viscosityConstant\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-fluid\_\-viscosityConstant\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-fluid\_\-viscosityConstant\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_abf20f838a3ca40f21da98da6b4910fc4}


Definition at line 654 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, m\_\-ui, and Solver::updateViscosityConstantForFluid().


\begin{DoxyCode}
{
    //get currently selected fluid id
    int id = m_ui->cmb_fluid_currentFluid->currentIndex();

    //update currently selected object
    m_simulation->getSolver()->updateViscosityConstantForFluid(id, value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_abf20f838a3ca40f21da98da6b4910fc4_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a8c36001e87e92370aa3167a0780d464b}{
\index{MainApp@{MainApp}!on\_\-spin\_\-hose\_\-centre\_\-x\_\-valueChanged@{on\_\-spin\_\-hose\_\-centre\_\-x\_\-valueChanged}}
\index{on\_\-spin\_\-hose\_\-centre\_\-x\_\-valueChanged@{on\_\-spin\_\-hose\_\-centre\_\-x\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-hose\_\-centre\_\-x\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-hose\_\-centre\_\-x\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a8c36001e87e92370aa3167a0780d464b}


Definition at line 303 of file MainApp.cpp.



References Solver::getHoseCenter(), Simulation::getSolver(), m\_\-simulation, and Solver::setHoseCenter().


\begin{DoxyCode}
{
    m_simulation->getSolver()->setHoseCenter(ngl::Vector(value, m_simulation->
      getSolver()->getHoseCenter().m_y, m_simulation->getSolver()->getHoseCenter().m_z)
      );

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a8c36001e87e92370aa3167a0780d464b_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a5a896d344d76b0a874ef43d1a196a317}{
\index{MainApp@{MainApp}!on\_\-spin\_\-hose\_\-centre\_\-y\_\-valueChanged@{on\_\-spin\_\-hose\_\-centre\_\-y\_\-valueChanged}}
\index{on\_\-spin\_\-hose\_\-centre\_\-y\_\-valueChanged@{on\_\-spin\_\-hose\_\-centre\_\-y\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-hose\_\-centre\_\-y\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-hose\_\-centre\_\-y\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a5a896d344d76b0a874ef43d1a196a317}


Definition at line 310 of file MainApp.cpp.



References Solver::getHoseCenter(), Simulation::getSolver(), m\_\-simulation, and Solver::setHoseCenter().


\begin{DoxyCode}
{
    m_simulation->getSolver()->setHoseCenter(ngl::Vector(m_simulation->getSolver(
      )->getHoseCenter().m_x, value, m_simulation->getSolver()->getHoseCenter().m_z));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a5a896d344d76b0a874ef43d1a196a317_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a542bb53f9574ec7b274d72a28b0d8711}{
\index{MainApp@{MainApp}!on\_\-spin\_\-hose\_\-centre\_\-z\_\-valueChanged@{on\_\-spin\_\-hose\_\-centre\_\-z\_\-valueChanged}}
\index{on\_\-spin\_\-hose\_\-centre\_\-z\_\-valueChanged@{on\_\-spin\_\-hose\_\-centre\_\-z\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-hose\_\-centre\_\-z\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-hose\_\-centre\_\-z\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a542bb53f9574ec7b274d72a28b0d8711}


Definition at line 317 of file MainApp.cpp.



References Solver::getHoseCenter(), Simulation::getSolver(), m\_\-simulation, and Solver::setHoseCenter().


\begin{DoxyCode}
{
    m_simulation->getSolver()->setHoseCenter(ngl::Vector(m_simulation->getSolver(
      )->getHoseCenter().m_x, m_simulation->getSolver()->getHoseCenter().m_y, value));

    m_simulation->updateGL();
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a542bb53f9574ec7b274d72a28b0d8711_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a71ffa6d88832bd0aa50a869eb1acc76b}{
\index{MainApp@{MainApp}!on\_\-spin\_\-hose\_\-velocity\_\-x\_\-valueChanged@{on\_\-spin\_\-hose\_\-velocity\_\-x\_\-valueChanged}}
\index{on\_\-spin\_\-hose\_\-velocity\_\-x\_\-valueChanged@{on\_\-spin\_\-hose\_\-velocity\_\-x\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-hose\_\-velocity\_\-x\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-hose\_\-velocity\_\-x\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a71ffa6d88832bd0aa50a869eb1acc76b}


Definition at line 324 of file MainApp.cpp.



References Solver::getHoseVelocity(), Simulation::getSolver(), m\_\-simulation, and Solver::setHoseVelocity().


\begin{DoxyCode}
{
    m_simulation->getSolver()->setHoseVelocity(ngl::Vector(value, m_simulation->
      getSolver()->getHoseVelocity().m_y, m_simulation->getSolver()->getHoseVelocity().
      m_z));
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a71ffa6d88832bd0aa50a869eb1acc76b_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_aea37a7ba7b2914ac917ffe1ba3b196a6}{
\index{MainApp@{MainApp}!on\_\-spin\_\-hose\_\-velocity\_\-y\_\-valueChanged@{on\_\-spin\_\-hose\_\-velocity\_\-y\_\-valueChanged}}
\index{on\_\-spin\_\-hose\_\-velocity\_\-y\_\-valueChanged@{on\_\-spin\_\-hose\_\-velocity\_\-y\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-hose\_\-velocity\_\-y\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-hose\_\-velocity\_\-y\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_aea37a7ba7b2914ac917ffe1ba3b196a6}


Definition at line 329 of file MainApp.cpp.



References Solver::getHoseVelocity(), Simulation::getSolver(), m\_\-simulation, and Solver::setHoseVelocity().


\begin{DoxyCode}
{
    m_simulation->getSolver()->setHoseVelocity(ngl::Vector(m_simulation->
      getSolver()->getHoseVelocity().m_x, value, m_simulation->getSolver()->
      getHoseVelocity().m_z));
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_aea37a7ba7b2914ac917ffe1ba3b196a6_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_aae0c99b28e3e03ffb0c162961af5ea73}{
\index{MainApp@{MainApp}!on\_\-spin\_\-hose\_\-velocity\_\-z\_\-valueChanged@{on\_\-spin\_\-hose\_\-velocity\_\-z\_\-valueChanged}}
\index{on\_\-spin\_\-hose\_\-velocity\_\-z\_\-valueChanged@{on\_\-spin\_\-hose\_\-velocity\_\-z\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-hose\_\-velocity\_\-z\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-hose\_\-velocity\_\-z\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{int}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_aae0c99b28e3e03ffb0c162961af5ea73}


Definition at line 334 of file MainApp.cpp.



References Solver::getHoseVelocity(), Simulation::getSolver(), m\_\-simulation, and Solver::setHoseVelocity().


\begin{DoxyCode}
{
    m_simulation->getSolver()->setHoseVelocity(ngl::Vector(m_simulation->
      getSolver()->getHoseVelocity().m_x, m_simulation->getSolver()->getHoseVelocity().
      m_y, value));
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_aae0c99b28e3e03ffb0c162961af5ea73_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a8db408266465d278ee1eba191158443c}{
\index{MainApp@{MainApp}!on\_\-spin\_\-solver\_\-smoothingLength\_\-valueChanged@{on\_\-spin\_\-solver\_\-smoothingLength\_\-valueChanged}}
\index{on\_\-spin\_\-solver\_\-smoothingLength\_\-valueChanged@{on\_\-spin\_\-solver\_\-smoothingLength\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-solver\_\-smoothingLength\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-solver\_\-smoothingLength\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a8db408266465d278ee1eba191158443c}


Definition at line 624 of file MainApp.cpp.



References Simulation::getSolver(), m\_\-simulation, and Solver::setSmoothingLength().


\begin{DoxyCode}
{
    m_simulation->getSolver()->setSmoothingLength(value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a8db408266465d278ee1eba191158443c_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a063a13b6f825dbcc257f3a732a0445f5}{
\index{MainApp@{MainApp}!on\_\-spin\_\-solver\_\-timestep\_\-valueChanged@{on\_\-spin\_\-solver\_\-timestep\_\-valueChanged}}
\index{on\_\-spin\_\-solver\_\-timestep\_\-valueChanged@{on\_\-spin\_\-solver\_\-timestep\_\-valueChanged}!MainApp@{MainApp}}
\subsubsection[{on\_\-spin\_\-solver\_\-timestep\_\-valueChanged}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::on\_\-spin\_\-solver\_\-timestep\_\-valueChanged (
\begin{DoxyParamCaption}
\item[{double}]{value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private, slot\mbox{]}}}}
\label{class_main_app_a063a13b6f825dbcc257f3a732a0445f5}


Definition at line 614 of file MainApp.cpp.



References Simulation::getIntegration(), m\_\-simulation, and Integration::setTimestep().


\begin{DoxyCode}
{
    m_simulation->getIntegration()->setTimestep(value);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a063a13b6f825dbcc257f3a732a0445f5_cgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a9e4d0ae588196c85327c51a2493f3e6e}{
\index{MainApp@{MainApp}!refreshControlsFromCapsule@{refreshControlsFromCapsule}}
\index{refreshControlsFromCapsule@{refreshControlsFromCapsule}!MainApp@{MainApp}}
\subsubsection[{refreshControlsFromCapsule}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::refreshControlsFromCapsule (
\begin{DoxyParamCaption}
\item[{const int}]{\_\-capsuleId}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_main_app_a9e4d0ae588196c85327c51a2493f3e6e}


updates the gui with the parameters of a newly selected capsule 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em \_\-capsuleId} & the capsule id selected \\
\hline
\end{DoxyParams}


Definition at line 202 of file MainApp.cpp.



References Environment::getCapsuleObstacleList(), Simulation::getEnvironment(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //centre
    m_ui->spin_environment_capsule_centre_x->setValue(m_simulation->
      getEnvironment()->getCapsuleObstacleList()[_capsuleId].getPosition().m_x);
    m_ui->spin_environment_capsule_centre_y->setValue(m_simulation->
      getEnvironment()->getCapsuleObstacleList()[_capsuleId].getPosition().m_y);
    m_ui->spin_environment_capsule_centre_z->setValue(m_simulation->
      getEnvironment()->getCapsuleObstacleList()[_capsuleId].getPosition().m_z);

    //angle
    m_ui->spin_environment_capsule_incrementAngle->setValue(m_simulation->
      getEnvironment()->getCapsuleObstacleList()[_capsuleId].getIncrementAngle());

    //radius
    m_ui->spin_environment_capsule_radius->setValue(m_simulation->getEnvironment(
      )->getCapsuleObstacleList()[_capsuleId].getRadius());

    //static
    m_ui->chk_environment_capsule_isStatic->setChecked(!m_simulation->
      getEnvironment()->getCapsuleObstacleList()[_capsuleId].getMoveable());
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a9e4d0ae588196c85327c51a2493f3e6e_cgraph}
\end{center}
\end{figure}




Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a9e4d0ae588196c85327c51a2493f3e6e_icgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a7cc40ed17a8b96c509989c51bd019114}{
\index{MainApp@{MainApp}!refreshControlsFromFluid@{refreshControlsFromFluid}}
\index{refreshControlsFromFluid@{refreshControlsFromFluid}!MainApp@{MainApp}}
\subsubsection[{refreshControlsFromFluid}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::refreshControlsFromFluid (
\begin{DoxyParamCaption}
\item[{const int}]{\_\-fluidId}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_main_app_a7cc40ed17a8b96c509989c51bd019114}


updates the gui with the parameters of a newly selected fluid 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em \_\-fluidId} & the fluid id selected \\
\hline
\end{DoxyParams}


Definition at line 158 of file MainApp.cpp.



References Solver::getHoseParticlePrototypeList(), Simulation::getSolver(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //density
    m_ui->spin_fluid_restDensity->setValue(m_simulation->getSolver()->
      getHoseParticlePrototypeList()[_fluidId].getMaterialRestDensity());

    //gas constant
    m_ui->spin_fluid_gasConstant->setValue(m_simulation->getSolver()->
      getHoseParticlePrototypeList()[_fluidId].getGasConstant());

    //viscosity constant
    m_ui->spin_fluid_viscosityConstant->setValue(m_simulation->getSolver()->
      getHoseParticlePrototypeList()[_fluidId].getViscosityConstant());

    //surface tension
    m_ui->spin_fluid_surfaceCoefficient->setValue(m_simulation->getSolver()->
      getHoseParticlePrototypeList()[_fluidId].getSurfaceTensionCoefficient());
    m_ui->spin_fluid_surfaceThreshold->setValue(m_simulation->getSolver()->
      getHoseParticlePrototypeList()[_fluidId].getSurfaceTensionThreshold());

    //interface tension
    m_ui->spin_fluid_interfaceCoefficient->setValue(m_simulation->getSolver()->
      getHoseParticlePrototypeList()[_fluidId].getInterfaceTensionCoefficient());
    m_ui->spin_fluid_interfaceThreshold->setValue(m_simulation->getSolver()->
      getHoseParticlePrototypeList()[_fluidId].getInterfaceTensionThreshold());

    //interface color
    bool minus = m_simulation->getSolver()->getHoseParticlePrototypeList()[_fluid
      Id].getInterfaceColorCoefficient() < 0;
    m_ui->spin_fluid_interfaceColorMinus->setChecked(minus);
    m_ui->spin_fluid_interfaceColorPlus->setChecked(!minus);
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a7cc40ed17a8b96c509989c51bd019114_cgraph}
\end{center}
\end{figure}




Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_a7cc40ed17a8b96c509989c51bd019114_icgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_ab1845e346766fa6a34b22e3fb04427d8}{
\index{MainApp@{MainApp}!refreshControlsFromSphere@{refreshControlsFromSphere}}
\index{refreshControlsFromSphere@{refreshControlsFromSphere}!MainApp@{MainApp}}
\subsubsection[{refreshControlsFromSphere}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::refreshControlsFromSphere (
\begin{DoxyParamCaption}
\item[{const int}]{\_\-sphereId}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_main_app_ab1845e346766fa6a34b22e3fb04427d8}


updates the gui with the parameters of a newly selected sphere 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em \_\-sphereId} & the sphere id selected \\
\hline
\end{DoxyParams}


Definition at line 183 of file MainApp.cpp.



References Simulation::getEnvironment(), Environment::getSphereObstacleList(), m\_\-simulation, and m\_\-ui.


\begin{DoxyCode}
{
    //position
    m_ui->spin_environment_sphere_centre_x->setValue(m_simulation->
      getEnvironment()->getSphereObstacleList()[_sphereId].getPosition().m_x);
    m_ui->spin_environment_sphere_centre_y->setValue(m_simulation->
      getEnvironment()->getSphereObstacleList()[_sphereId].getPosition().m_y);
    m_ui->spin_environment_sphere_centre_z->setValue(m_simulation->
      getEnvironment()->getSphereObstacleList()[_sphereId].getPosition().m_z);

    //velocity
    m_ui->spin_environment_sphere_velocity_x->setValue(m_simulation->
      getEnvironment()->getSphereObstacleList()[_sphereId].getVelocity().m_x);
    m_ui->spin_environment_sphere_velocity_y->setValue(m_simulation->
      getEnvironment()->getSphereObstacleList()[_sphereId].getVelocity().m_y);
    m_ui->spin_environment_sphere_velocity_z->setValue(m_simulation->
      getEnvironment()->getSphereObstacleList()[_sphereId].getVelocity().m_z);

    //radius
    m_ui->spin_environment_sphere_radius->setValue(m_simulation->getEnvironment()
      ->getSphereObstacleList()[_sphereId].getRadius());

    //static
    m_ui->chk_environment_sphere_isStatic->setChecked(!m_simulation->
      getEnvironment()->getSphereObstacleList()[_sphereId].getMoveable());
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ab1845e346766fa6a34b22e3fb04427d8_cgraph}
\end{center}
\end{figure}




Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_main_app_ab1845e346766fa6a34b22e3fb04427d8_icgraph}
\end{center}
\end{figure}


\hypertarget{class_main_app_a8947167d51717eb956ea8238906e0a6c}{
\index{MainApp@{MainApp}!setupConnections@{setupConnections}}
\index{setupConnections@{setupConnections}!MainApp@{MainApp}}
\subsubsection[{setupConnections}]{\setlength{\rightskip}{0pt plus 5cm}void MainApp::setupConnections (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_main_app_a8947167d51717eb956ea8238906e0a6c}


setup up the UI intial values and connects signals/slots 



build fluid name list 



Definition at line 36 of file MainApp.cpp.



References Environment::getBoundaryDimension(), Environment::getBoundaryPosition(), Environment::getBoundaryRestitutionCoefficientForFluid(), Environment::getBoundaryRestitutionCoefficientForRBD(), Simulation::getCacheAutomaticFlushEnabled(), Simulation::getCacheAutomaticFlushInterval(), Simulation::getCacheEnabled(), Simulation::getCacheExportBoundaryEnabled(), Simulation::getCacheExportRBDEnabled(), Simulation::getCacheSamplingInterval(), Environment::getCapsuleNameList(), Environment::getCapsuleResolution(), Solver::getDrawHoseMarker(), Solver::getEnableAutoFluidUpdate(), Simulation::getEnvironment(), Solver::getHoseCenter(), Solver::getHoseVelocity(), Solver::getHoseWaitUntilHitBoundary(), Solver::getHoseWaitUntilHitRBD(), Simulation::getIntegration(), Solver::getNameList(), Environment::getObstacleRestitutionCoefficient(), Environment::getPeriodicWallAngleIncrement(), Environment::getPeriodicWallEnabled(), Environment::getPeriodicWallMaxAmplitude(), Environment::getPeriodicWallSpeed(), Solver::getSmoothingLength(), Simulation::getSolver(), Environment::getSphereNameList(), Integration::getTimestep(), Configuration::initialiseCamera(), m\_\-simulation, m\_\-ui, refreshControlsFromCapsule(), refreshControlsFromFluid(), and refreshControlsFromSphere().


\begin{DoxyCode}
{
    //read from simulation objects and initialise states of controls

    //---------------------------------------------------------------------------
      ------------------------------------------
    //TAB : SOLVER
    //timestep
    m_ui->spin_solver_timestep->setValue(m_simulation->getIntegration()->
      getTimestep());

    //smoothing length
    m_ui->spin_solver_smoothingLength->setValue(m_simulation->getSolver()->
      getSmoothingLength());


    //---------------------------------------------------------------------------
      ------------------------------------------
    //TAB : FLUID
    for (int i = 0; i < m_simulation->getSolver()->getNameList().size(); ++i)
    {
        m_ui->cmb_fluid_currentFluid->addItems(QStringList(QString(m_simulation->
      getSolver()->getNameList()[i].c_str())));
    }

    //update controls for the first fluid
    if (m_simulation->getSolver()->getNameList().size() >= 1) 
      refreshControlsFromFluid(0);

    //toggle hose marker drawing
    m_ui->chk_fluid_hose_drawMarker->setChecked(m_simulation->getSolver()->
      getDrawHoseMarker());

    //hose centre
    m_ui->spin_hose_centre_x->setValue(m_simulation->getSolver()->getHoseCenter()
      .m_x);
    m_ui->spin_hose_centre_y->setValue(m_simulation->getSolver()->getHoseCenter()
      .m_y);
    m_ui->spin_hose_centre_z->setValue(m_simulation->getSolver()->getHoseCenter()
      .m_z);

    //hose velocity
    m_ui->spin_hose_velocity_x->setValue(m_simulation->getSolver()->
      getHoseVelocity().m_x);
    m_ui->spin_hose_velocity_y->setValue(m_simulation->getSolver()->
      getHoseVelocity().m_y);
    m_ui->spin_hose_velocity_z->setValue(m_simulation->getSolver()->
      getHoseVelocity().m_z);

    //wait until first time properties
    m_ui->chk_fluid_hose_waitUntilBoundary->setChecked(m_simulation->getSolver()-
      >getHoseWaitUntilHitBoundary());
    m_ui->chk_fluid_hose_waitUntilRBD->setChecked(m_simulation->getSolver()->
      getHoseWaitUntilHitRBD());


    //---------------------------------------------------------------------------
      ------------------------------------------
    //TAB : CACHE
    //cache toggle
    m_ui->chk_cache_enable->setChecked(m_simulation->getCacheEnabled());

    //cache sampling interval
    m_ui->spin_cache_samplingInterval->setValue(m_simulation->
      getCacheSamplingInterval());

    //cache automatic sampling
    m_ui->chk_cache_automaticFlush->setChecked(m_simulation->
      getCacheAutomaticFlushEnabled());
    m_ui->spin_cache_automaticFlushInterval->setValue(m_simulation->
      getCacheAutomaticFlushInterval() / 1000);   //ms -> s

    //cache rbd and boundary
    m_ui->chk_cache_exportRBD->setChecked(m_simulation->getCacheExportRBDEnabled(
      ));
    m_ui->chk_cache_exportBoundary->setChecked(m_simulation->
      getCacheExportBoundaryEnabled());


    //---------------------------------------------------------------------------
      ------------------------------------------
    //TAB : ENVIRONMENT

    //SUBTAB : BOUNDARY
    //boundary centre
    m_ui->spin_environment_boundary_centre_x->setValue(m_simulation->
      getEnvironment()->getBoundaryPosition().m_x);
    m_ui->spin_environment_boundary_centre_y->setValue(m_simulation->
      getEnvironment()->getBoundaryPosition().m_y);
    m_ui->spin_environment_boundary_centre_z->setValue(m_simulation->
      getEnvironment()->getBoundaryPosition().m_z);

    //boundary dimension
    m_ui->spin_environment_boundary_size_x->setValue(m_simulation->
      getEnvironment()->getBoundaryDimension().m_x);
    m_ui->spin_environment_boundary_size_y->setValue(m_simulation->
      getEnvironment()->getBoundaryDimension().m_x);
    m_ui->spin_environment_boundary_size_z->setValue(m_simulation->
      getEnvironment()->getBoundaryDimension().m_x);

    //restitution coefficients
    m_ui->spin_environment_boundary_restitutionForFluid->setValue(m_simulation->
      getEnvironment()->getBoundaryRestitutionCoefficientForFluid());
    m_ui->spin_environment_boundary_restitutionForRBD->setValue(m_simulation->
      getEnvironment()->getBoundaryRestitutionCoefficientForRBD());

    //periodic wall
    m_ui->chk_environment_boundary_enablePeriodicWall->setChecked(m_simulation->
      getEnvironment()->getPeriodicWallEnabled());
    m_ui->spin_environment_boundary_periodicWall_speed->setValue(m_simulation->
      getEnvironment()->getPeriodicWallSpeed());
    m_ui->spin_environment_boundary_periodicWall_angleIncrement->setValue(
      m_simulation->getEnvironment()->getPeriodicWallAngleIncrement());
    m_ui->spin_environment_boundary_periodicWall_maxAmplitude->setValue(
      m_simulation->getEnvironment()->getPeriodicWallMaxAmplitude());


    //SUBTAB : RBD
    //restitution coefficients
    m_ui->spin_environment_rbd_restitution->setValue(m_simulation->
      getEnvironment()->getObstacleRestitutionCoefficient());

    //capsule resolution
    m_ui->spin_environment_capsule_resolution->setValue(m_simulation->
      getEnvironment()->getCapsuleResolution());

    //build sphere combo list
    for (int i = 0; i < m_simulation->getEnvironment()->getSphereNameList().size(
      ); ++i)
    {
        m_ui->cmb_environment_sphere->addItems(QStringList(QString(m_simulation->
      getEnvironment()->getSphereNameList()[i].c_str())));
    }

    //update controls for the first sphere
    if (m_simulation->getEnvironment()->getSphereNameList().size() >= 1) 
      refreshControlsFromSphere(0);

    //build sphere combo list
    for (int i = 0; i < m_simulation->getEnvironment()->getCapsuleNameList().size
      (); ++i)
    {
        m_ui->cmb_environment_capsule->addItems(QStringList(QString(m_simulation-
      >getEnvironment()->getCapsuleNameList()[i].c_str())));
    }

    //update controls for the first capsule
    if (m_simulation->getEnvironment()->getCapsuleNameList().size() >= 1) 
      refreshControlsFromCapsule(0);


    //OUTSIDE BUTTONS
    m_ui->cmd_autoMove->setText(m_simulation->getSolver()->
      getEnableAutoFluidUpdate() ? "AutoMove Stop" : "AutoMove Start");


    //GLOBAL CAMERA
    //setup camera zoom control and signal here
    //read camera z value from config file and set it to the slider
    ngl::Camera m_camera = Configuration::initialiseCamera(1.0);
    m_ui->sld_cameraZoom->setValue(-m_camera.getEye().m_z);
    connect(m_ui->sld_cameraZoom, SIGNAL(valueChanged(int)), m_simulation, SLOT(u
      pdateCameraZoom(int)));
}
\end{DoxyCode}


Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=600pt]{class_main_app_a8947167d51717eb956ea8238906e0a6c_cgraph}
\end{center}
\end{figure}




\subsection{Member Data Documentation}
\hypertarget{class_main_app_a35da5a53cc7a1503b8341a9c984a724e}{
\index{MainApp@{MainApp}!m\_\-simulation@{m\_\-simulation}}
\index{m\_\-simulation@{m\_\-simulation}!MainApp@{MainApp}}
\subsubsection[{m\_\-simulation}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Simulation}$\ast$ {\bf MainApp::m\_\-simulation}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_main_app_a35da5a53cc7a1503b8341a9c984a724e}


the main gl context that is used for drawing and creation of the simulation 



Definition at line 43 of file MainApp.h.

\hypertarget{class_main_app_a4293f05676b5fdec0609673637bc63a2}{
\index{MainApp@{MainApp}!m\_\-ui@{m\_\-ui}}
\index{m\_\-ui@{m\_\-ui}!MainApp@{MainApp}}
\subsubsection[{m\_\-ui}]{\setlength{\rightskip}{0pt plus 5cm}Ui::MainWindow$\ast$ {\bf MainApp::m\_\-ui}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{class_main_app_a4293f05676b5fdec0609673637bc63a2}


the handle to the main GUI window, used for creating all the UI and the gl window 



Definition at line 40 of file MainApp.h.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
include/\hyperlink{_main_app_8h}{MainApp.h}\item 
src/\hyperlink{_main_app_8cpp}{MainApp.cpp}\end{DoxyCompactItemize}
